package org.cloudplatform.common.test.feign;

import com.xwc.supoort.feign.test.model.Result;
import feign.Param;
import feign.RequestLine;
import org.cloudplatform.common.feign.anno.FeignClient;

/**
 * 类描述：
 * 作者：徐卫超 (cc)
 * 时间 2022/5/13 15:38
 */

@FeignClient(url = "http://127.0.0.1:8080")
public interface HostRpc {

    @RequestLine("POST /login?username={username}&password={password}&routerIp=127.0.0.1")
    Result<String> getUser(@Param("username") String username, @Param("password") String password);
}
